Skip to content

Deduplicate optional dependency imports in regex detectors#45

Closed
aidankhogg wants to merge 1 commit into
dev_alphafrom
codex/refactor-regexes.py-for-dependency-handling
Closed

Deduplicate optional dependency imports in regex detectors#45
aidankhogg wants to merge 1 commit into
dev_alphafrom
codex/refactor-regexes.py-for-dependency-handling

Conversation

@aidankhogg

Copy link
Copy Markdown
Contributor

Summary

  • keep a single set of optional dependency imports for email, phone, and stdnum helpers in regex detectors
  • remove redundant fallback assignments so detectors consistently use the module-level imports

Testing

  • pytest tests/test_detectors.py

https://chatgpt.com/codex/tasks/task_e_68cd5f3fae2483249bbf5ef8caa906c0

@aidankhogg

Copy link
Copy Markdown
Contributor Author

duplicate

@aidankhogg aidankhogg closed this Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant